﻿<?xml version="1.0" encoding="utf-8"?>
<testSuite name="The TestSuite" xmlns="http://NBi/TestSuite">
	<test name="hierarchies contain elements belonging to the set defined (implicitely ignoring case)">
		<system-under-test>
			<structure>
				<hierarchies dimension="dimension" perspective="Perspective" connectionString="ConnectionString"/>
			</structure>
		</system-under-test>
		<assert>
			<subsetOf>
				<item>First hierarchy</item>
				<item>Second hierarchy</item>
			</subsetOf>
		</assert>
	</test>
	<test name="hierarchies contain elements belonging to the set defined (explicitely not ignoring case)">
		<system-under-test>
			<structure>
				<hierarchies dimension="dimension" perspective="Perspective" connectionString="ConnectionString"/>
			</structure>
		</system-under-test>
		<assert>
			<subsetOf
				ignore-case="true"
			>
				<item>First hierarchy</item>
				<item>Second hierarchy</item>
			</subsetOf>
		</assert>
	</test>
	<test name="hierarchies contain elements belonging to the set defined ... check items">
		<system-under-test>
			<structure>
				<hierarchies dimension="dimension" perspective="Perspective" connectionString="ConnectionString"/>
			</structure>
		</system-under-test>
		<assert>
			<subsetOf>
				<item>First hierarchy</item>
				<item>Second hierarchy</item>
			</subsetOf>
		</assert>
	</test>
	<test name="hierarchies contain elements belonging to the set defined ... check items">
		<system-under-test>
			<members children-of="All">
				<hierarchy caption="hierarchy" dimension="dimension" perspective="Perspective" connectionString="ConnectionString"/>
			</members>
		</system-under-test>
		<assert>
			<subsetOf>
				<members children-of="All">
					<hierarchy caption="myHierarchy" dimension="myDimension" perspective="myPerspective"/>
				</members>
			</subsetOf>
		</assert>
	</test>
</testSuite>